package com.myslef.teaching_platfrom.domain.talk;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;


@Data
public class Talk {
    private static final long serialVersionUID = 2L;

    private Integer id;

    private Integer userId;

    private String userName;

    private Integer classId;

    private Integer beforeUserId;

    private Integer beforeTalkId;

    private String beforeName;

    private Integer fatherId;

    private int level;

    private short anonymity;

    private String content;

    private String imgUrlList;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;

}
